Skip to content

feat: tweak networking configs#910

Merged
Einliterflasche merged 10 commits intomasterfrom
refactor/quote-and-swap-setup
Mar 20, 2026
Merged

feat: tweak networking configs#910
Einliterflasche merged 10 commits intomasterfrom
refactor/quote-and-swap-setup

Conversation

@Einliterflasche
Copy link

No description provided.

@Einliterflasche Einliterflasche self-assigned this Mar 20, 2026
@Einliterflasche Einliterflasche added enhancement New feature or request asb Related to the ASB (maker side) libp2p Related to P2P Networking labels Mar 20, 2026
By enabling the `hs-pow-full` feature
This commit does not implement the actual POW challenge
yet, just a dummy. It does provide a working protocol upgrade though.

A custom `InboundConnectionUpgrade`/`OutboundConnectionUpgrade`
implementation that wraps `noise` (authentication + encryption)
but before running the `noise` handshake the listening
party sends a proof of work challenge, to which the dialing
party must respond correctly.
Else the connection is terminated before it is setup.

This will be a breaking change.
@Einliterflasche Einliterflasche force-pushed the refactor/quote-and-swap-setup branch from 0766dfd to d6beaf7 Compare March 20, 2026 17:25
@Einliterflasche Einliterflasche changed the title Refactor: quote and swap setup to be more resilient DOS resiliance Mar 20, 2026
@Einliterflasche Einliterflasche changed the title DOS resiliance feat: tweak networking configs, add POW Mar 20, 2026
@Einliterflasche Einliterflasche linked an issue Mar 20, 2026 that may be closed by this pull request
This reverts commit d6beaf7.
We will do that in another PR.
@Einliterflasche Einliterflasche changed the title feat: tweak networking configs, add POW feat: tweak networking configs Mar 20, 2026
@Einliterflasche Einliterflasche merged commit ebc3bce into master Mar 20, 2026
5 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

asb Related to the ASB (maker side) enhancement New feature or request libp2p Related to P2P Networking protocol

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ASB: Require proof of work before accepting peer connection

1 participant